# -*- coding: utf-8 -*-

###########################################################################
## Python code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
## http://www.wxformbuilder.org/
##
## PLEASE DO *NOT* EDIT THIS FILE!
###########################################################################

import wx
import wx.xrc
import wx.richtext

###########################################################################
## Class wxb_mainFrame
###########################################################################

class wxb_mainFrame ( wx.Frame ):

	def __init__( self, parent ):
		wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"PDF Dir Generator", pos = wx.DefaultPosition, size = wx.Size( 700,500 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL )

		self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
		self.SetBackgroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_MENU ) )

		self.m_menubar1 = wx.MenuBar( 0 )
		self.m_menubar1.SetBackgroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_MENU ) )

		self.m_menu_file = wx.Menu()
		self.m_menu_file_open = wx.Menu()
		self.m_menuItem_pdf = wx.MenuItem( self.m_menu_file_open, wx.ID_ANY, u"PDF(*pdf)", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu_file_open.Append( self.m_menuItem_pdf )

		self.m_menuItem_dir = wx.MenuItem( self.m_menu_file_open, wx.ID_ANY, u"Dir(*txt)", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu_file_open.Append( self.m_menuItem_dir )

		self.m_menuItem_conf = wx.MenuItem( self.m_menu_file_open, wx.ID_ANY, u"conf(*.conf)", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu_file_open.Append( self.m_menuItem_conf )

		self.m_menu_file.AppendSubMenu( self.m_menu_file_open, u"Open" )

		self.m_menu_file.AppendSeparator()

		self.m_menuItem_setting = wx.MenuItem( self.m_menu_file, wx.ID_ANY, u"Settings", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu_file.Append( self.m_menuItem_setting )

		self.m_menubar1.Append( self.m_menu_file, u"File" )

		self.m_menu_run = wx.Menu()
		self.m_menuItem_formatDir = wx.MenuItem( self.m_menu_run, wx.ID_ANY, u"Format Dir", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu_run.Append( self.m_menuItem_formatDir )

		self.m_menuItem_generateDir = wx.MenuItem( self.m_menu_run, wx.ID_ANY, u"Generate Dir", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu_run.Append( self.m_menuItem_generateDir )

		self.m_menu_run.AppendSeparator()

		self.m_menuItem_clear = wx.MenuItem( self.m_menu_run, wx.ID_ANY, u"clear screen", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu_run.Append( self.m_menuItem_clear )

		self.m_menuItem_printparams = wx.MenuItem( self.m_menu_run, wx.ID_ANY, u"print params", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu_run.Append( self.m_menuItem_printparams )

		self.m_menubar1.Append( self.m_menu_run, u"Run" )

		self.m_menu_help = wx.Menu()
		self.m_menuItem_about = wx.MenuItem( self.m_menu_help, wx.ID_ANY, u"About", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu_help.Append( self.m_menuItem_about )

		self.m_menubar1.Append( self.m_menu_help, u"Help" )

		self.SetMenuBar( self.m_menubar1 )

		bSizer1 = wx.BoxSizer( wx.VERTICAL )

		bSizer2 = wx.BoxSizer( wx.HORIZONTAL )

		self.m_staticText_pdfsource = wx.StaticText( self, wx.ID_ANY, u"PDF source", wx.DefaultPosition, wx.Size( 80,-1 ), wx.ALIGN_RIGHT )
		self.m_staticText_pdfsource.Wrap( -1 )

		self.m_staticText_pdfsource.SetFont( wx.Font( 9, wx.FONTFAMILY_SWISS, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD, False, "微软雅黑" ) )

		bSizer2.Add( self.m_staticText_pdfsource, 0, wx.ALL, 5 )

		self.m_textCtrl_pdfsource = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_READONLY )
		self.m_textCtrl_pdfsource.SetFont( wx.Font( 9, wx.FONTFAMILY_SWISS, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL, False, "微软雅黑" ) )

		bSizer2.Add( self.m_textCtrl_pdfsource, 1, wx.ALL, 5 )

		self.m_bpButton_pdfsource = wx.BitmapButton( self, wx.ID_ANY, wx.NullBitmap, wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW|0 )

		self.m_bpButton_pdfsource.SetBitmap( wx.NullBitmap )
		bSizer2.Add( self.m_bpButton_pdfsource, 0, wx.ALL, 5 )


		bSizer1.Add( bSizer2, 0, wx.EXPAND, 5 )

		bSizer4 = wx.BoxSizer( wx.HORIZONTAL )

		self.m_staticText_dirsource = wx.StaticText( self, wx.ID_ANY, u"Dir source", wx.DefaultPosition, wx.Size( 80,-1 ), wx.ALIGN_RIGHT )
		self.m_staticText_dirsource.Wrap( -1 )

		self.m_staticText_dirsource.SetFont( wx.Font( 9, wx.FONTFAMILY_SWISS, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD, False, "微软雅黑" ) )

		bSizer4.Add( self.m_staticText_dirsource, 0, wx.ALL, 5 )

		self.m_textCtrl_dirsource = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_READONLY )
		self.m_textCtrl_dirsource.SetFont( wx.Font( 9, wx.FONTFAMILY_SWISS, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL, False, "微软雅黑" ) )

		bSizer4.Add( self.m_textCtrl_dirsource, 1, wx.ALL, 5 )

		self.m_bpButton_dirsource = wx.BitmapButton( self, wx.ID_ANY, wx.NullBitmap, wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW|0 )

		self.m_bpButton_dirsource.SetBitmap( wx.NullBitmap )
		bSizer4.Add( self.m_bpButton_dirsource, 0, wx.ALL, 5 )


		bSizer1.Add( bSizer4, 0, wx.EXPAND, 5 )

		bSizer5 = wx.BoxSizer( wx.HORIZONTAL )


		bSizer5.Add( ( 60, 0), 0, wx.EXPAND, 5 )

		self.m_checkBox1_adviceOnly = wx.CheckBox( self, wx.ID_ANY, u"print advice only", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_checkBox1_adviceOnly.SetValue(True)
		bSizer5.Add( self.m_checkBox1_adviceOnly, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )


		bSizer5.Add( ( 10, 0), 0, wx.EXPAND, 5 )

		self.m_checkBox_formatdir = wx.CheckBox( self, wx.ID_ANY, u"format dir first", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_checkBox_formatdir.SetValue(True)
		bSizer5.Add( self.m_checkBox_formatdir, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )


		bSizer5.Add( ( 10, 0), 0, wx.EXPAND, 5 )

		self.m_checkBox_printprocess = wx.CheckBox( self, wx.ID_ANY, u"print process", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_checkBox_printprocess.SetValue(True)
		bSizer5.Add( self.m_checkBox_printprocess, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )


		bSizer5.Add( ( 0, 0), 1, wx.EXPAND, 5 )

		self.m_button_generateDir = wx.Button( self, wx.ID_ANY, u"Generate Dir", wx.DefaultPosition, wx.Size( 100,-1 ), 0 )
		bSizer5.Add( self.m_button_generateDir, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 )


		bSizer5.Add( ( 50, 0), 0, wx.EXPAND, 5 )


		bSizer1.Add( bSizer5, 0, wx.EXPAND, 5 )

		self.m_richText_screen = wx.richtext.RichTextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_READONLY|wx.VSCROLL|wx.HSCROLL|wx.NO_BORDER|wx.WANTS_CHARS )
		self.m_richText_screen.SetFont( wx.Font( 9, wx.FONTFAMILY_MODERN, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL, False, "YaHei Consolas Hybrid" ) )
		self.m_richText_screen.SetBackgroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_WINDOW ) )

		bSizer1.Add( self.m_richText_screen, 1, wx.ALL|wx.EXPAND, 9 )


		self.SetSizer( bSizer1 )
		self.Layout()
		self.m_statusBar1 = self.CreateStatusBar( 1, wx.STB_SIZEGRIP, wx.ID_ANY )

		self.Centre( wx.BOTH )

		# Connect Events
		self.Bind( wx.EVT_MENU, self.OnSelectPDF, id = self.m_menuItem_pdf.GetId() )
		self.Bind( wx.EVT_MENU, self.OnSeletcDir, id = self.m_menuItem_dir.GetId() )
		self.Bind( wx.EVT_MENU, self.OnSelectConf, id = self.m_menuItem_conf.GetId() )
		self.Bind( wx.EVT_MENU, self.OnClickSettings, id = self.m_menuItem_setting.GetId() )
		self.Bind( wx.EVT_MENU, self.OnFormatDir, id = self.m_menuItem_formatDir.GetId() )
		self.Bind( wx.EVT_MENU, self.OnGenerateDir, id = self.m_menuItem_generateDir.GetId() )
		self.Bind( wx.EVT_MENU, self.OnClearScreen, id = self.m_menuItem_clear.GetId() )
		self.Bind( wx.EVT_MENU, self.OnPrintParams, id = self.m_menuItem_printparams.GetId() )
		self.Bind( wx.EVT_MENU, self.OnClickAbout, id = self.m_menuItem_about.GetId() )
		self.m_bpButton_pdfsource.Bind( wx.EVT_BUTTON, self.OnbpSelectPDF )
		self.m_bpButton_dirsource.Bind( wx.EVT_BUTTON, self.OnbpSelectDir )
		self.m_checkBox1_adviceOnly.Bind( wx.EVT_CHECKBOX, self.OnSelectAdviceOnly )
		self.m_checkBox_formatdir.Bind( wx.EVT_CHECKBOX, self.OnSelectFormatFirst )
		self.m_checkBox_printprocess.Bind( wx.EVT_CHECKBOX, self.OnSelectPrintProcess )
		self.m_button_generateDir.Bind( wx.EVT_BUTTON, self.OnBTGenerateDir )

	def __del__( self ):
		pass


	# Virtual event handlers, override them in your derived class
	def OnSelectPDF( self, event ):
		event.Skip()

	def OnSeletcDir( self, event ):
		event.Skip()

	def OnSelectConf( self, event ):
		event.Skip()

	def OnClickSettings( self, event ):
		event.Skip()

	def OnFormatDir( self, event ):
		event.Skip()

	def OnGenerateDir( self, event ):
		event.Skip()

	def OnClearScreen( self, event ):
		event.Skip()

	def OnPrintParams( self, event ):
		event.Skip()

	def OnClickAbout( self, event ):
		event.Skip()

	def OnbpSelectPDF( self, event ):
		event.Skip()

	def OnbpSelectDir( self, event ):
		event.Skip()

	def OnSelectAdviceOnly( self, event ):
		event.Skip()

	def OnSelectFormatFirst( self, event ):
		event.Skip()

	def OnSelectPrintProcess( self, event ):
		event.Skip()

	def OnBTGenerateDir( self, event ):
		event.Skip()


